#ifndef GRAPHDATABASE_H
#define GRAPHDATABASE_H

#include <Klein/Shader/Graph.h>
#include <Klein/Shader/Singleton.h>

class KLEIN_API GraphDatabase : public Singleton<GraphDatabase>
{
public:

	bool AddGraph(const GraphRef& graph);
	void ActiveGraph(const String& graphName);
	GraphRef GetActivedGraph() const;

private:

	std::map<String, GraphRef> mGraphs;
	String mActivedGraphName;
};

#endif
